#include "../include/ehome.h"
#include "leds_hw.h"
void leds(int cmd){
    switch(cmd){
        case LED_BEDROOM_ON:
            leds_operation(0,1);
            break;
        case LED_BEDROOM_OFF:
            leds_operation(0,0);
            break;
        case LED_SALOON_ON:
            leds_operation(1,1);
            break;
        case LED_SALOON_OFF:
            leds_operation(1,0);
            break;
        case LED_KITCHEN_ON:
            leds_operation(2,1);
            break;
        case LED_KITCHEN_OFF:
            leds_operation(2,0);
            break;
        case LED_RESTROOM_ON:
            leds_operation(3,1);
            break;
        case LED_RESTROOM_OFF:
            leds_operation(3,0);
            break;
        default:
            pr_debug("no this leds_operation\n");
            break;
    }
}
